package headfirst.designpatterns.observer.simple;

/**
 * 自定义(jdk自带java.util.Observable类)主题接口
 */
public interface Subject {
    void registerObserver(Observer o);

    void removeObserver(Observer o);

    void notifyObservers();
}
